
module.exports = function (sequelize, DataTypes) {

  const manager = sequelize.define('manager', {
      id: {
        type: DataTypes.STRING(50),
        primaryKey: true
      },
      name: DataTypes.STRING(100),
      password: DataTypes.STRING(50),
      permission: DataTypes.STRING(30),
      cookie: DataTypes.STRING(100),
      department: DataTypes.STRING(50)
    }, 
    {
        timestamps: false
    }
  );
  return manager;
}